package com.youga.xuapplication.model;

public class Tour {
    private Integer id;

    private String city;

    private Double distance;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    @Override
    public String toString() {
        return "Tour{" +
                "id=" + id +
                ", city='" + city + '\'' +
                ", distance=" + distance +
                '}';
    }
}